HTTPDownstreamSession

Undocumented in source.

Constructors

this
this(HTTPSessionController controller, HTTPCodec codec, SessionDown down)
Undocumented in source.

Members

Functions

setupOnHeadersComplete
void setupOnHeadersComplete(HTTPTransaction txn, HTTPMessage msg)
Undocumented in source. Be warned that the author may not have intended to support it.
setupProtocolUpgrade
void setupProtocolUpgrade(HTTPTransaction txn, CodecProtocol protocol, string protocolString, HTTPMessage msg)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From HTTPSession

StreamID
alias StreamID = HTTPCodec.StreamID
Undocumented in source.
logInfoCallback
interface logInfoCallback
Undocumented in source.
onRead
void onRead(ubyte[] msg)
Undocumented in source. Be warned that the author may not have intended to support it.
onActive
void onActive()
Undocumented in source. Be warned that the author may not have intended to support it.
inActive
void inActive()
Undocumented in source. Be warned that the author may not have intended to support it.
onTimeout
void onTimeout()
Undocumented in source. Be warned that the author may not have intended to support it.
pauseIngress
void pauseIngress(HTTPTransaction txn)
Undocumented in source. Be warned that the author may not have intended to support it.
resumeIngress
void resumeIngress(HTTPTransaction txn)
Undocumented in source. Be warned that the author may not have intended to support it.
transactionTimeout
void transactionTimeout(HTTPTransaction txn)
Undocumented in source. Be warned that the author may not have intended to support it.
sendHeaders
void sendHeaders(HTTPTransaction txn, HTTPMessage headers, bool eom)
Undocumented in source. Be warned that the author may not have intended to support it.
sendBody
size_t sendBody(HTTPTransaction txn, ubyte[] data, bool eom)
Undocumented in source. Be warned that the author may not have intended to support it.
sendChunkHeader
size_t sendChunkHeader(HTTPTransaction txn, size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.
sendChunkTerminator
size_t sendChunkTerminator(HTTPTransaction txn)
Undocumented in source. Be warned that the author may not have intended to support it.
sendEOM
size_t sendEOM(HTTPTransaction txn)
Undocumented in source. Be warned that the author may not have intended to support it.
socketWrite
void socketWrite(HTTPTransaction txn, StreamWriteBuffer buffer)
Undocumented in source. Be warned that the author may not have intended to support it.
sendWsData
size_t sendWsData(HTTPTransaction txn, OpCode code, ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
notifyPendingEgress
void notifyPendingEgress()
Undocumented in source. Be warned that the author may not have intended to support it.
detach
void detach(HTTPTransaction txn)
Undocumented in source. Be warned that the author may not have intended to support it.
getLocalAddress
Address getLocalAddress()
Undocumented in source. Be warned that the author may not have intended to support it.
getPeerAddress
Address getPeerAddress()
Undocumented in source. Be warned that the author may not have intended to support it.
getCodec
HTTPCodec getCodec()
Undocumented in source. Be warned that the author may not have intended to support it.
restCodeC
void restCodeC(HTTPCodec codec)
Undocumented in source. Be warned that the author may not have intended to support it.
isDraining
bool isDraining()
Undocumented in source. Be warned that the author may not have intended to support it.
onMessageBegin
void onMessageBegin(HTTPTransaction txn, HTTPMessage msg)
Undocumented in source. Be warned that the author may not have intended to support it.
onHeadersComplete
void onHeadersComplete(HTTPTransaction txn, HTTPMessage msg)
Undocumented in source. Be warned that the author may not have intended to support it.
onNativeProtocolUpgrade
void onNativeProtocolUpgrade(HTTPTransaction txn, CodecProtocol protocol, string protocolString, HTTPMessage msg)
Undocumented in source. Be warned that the author may not have intended to support it.
onBody
void onBody(HTTPTransaction txn, ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
onChunkHeader
void onChunkHeader(HTTPTransaction txn, size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.
onChunkComplete
void onChunkComplete(HTTPTransaction txn)
Undocumented in source. Be warned that the author may not have intended to support it.
onMessageComplete
void onMessageComplete(HTTPTransaction txn, bool upgrade)
Undocumented in source. Be warned that the author may not have intended to support it.
onError
void onError(HTTPTransaction txn, HTTPErrorCode code)
Undocumented in source. Be warned that the author may not have intended to support it.
onAbort
void onAbort(HTTPTransaction txn, HTTPErrorCode code)
Undocumented in source. Be warned that the author may not have intended to support it.
onWsFrame
void onWsFrame(HTTPTransaction txn, WSFrame wsf)
Undocumented in source. Be warned that the author may not have intended to support it.
setupOnHeadersComplete
void setupOnHeadersComplete(HTTPTransaction txn, HTTPMessage msg)

Called by onHeadersComplete(). This function allows downstream and upstream to do any setup (like preparing a handler) when headers are first received from the remote side on a given transaction.

setupProtocolUpgrade
void setupProtocolUpgrade(HTTPTransaction txn, CodecProtocol protocol, string protocolString, HTTPMessage msg)
Undocumented in source.
closeWriteCallBack
void closeWriteCallBack()
Undocumented in source. Be warned that the author may not have intended to support it.
_localAddr
Address _localAddr;
Undocumented in source.
_peerAddr
Address _peerAddr;
Undocumented in source.
_codec
HTTPCodec _codec;
Undocumented in source.
_controller
HTTPSessionController _controller;
Undocumented in source.
_down
SessionDown _down;
Undocumented in source.

Meta